// const fs = require('node:fs');

// fs.writeFile('./uploader/test.txt', 'Hello World', (err) => {
// 	if (err) {
// 		console.error(err);
// 	}
// });

// console.log(process);

class Ref {
	_value;

	constructor(value) {
		this._value = value;
	}

	get value() {
		console.log('getting value:', this._value);
		return this._value;
	}

	set value(newValue) {
		console.log('setting value:', newValue);
		this._value = newValue;
	}
}

const ref = new Ref('1');

console.log(ref.value);

ref.value = '2';
console.log(ref.value);
